package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

//员工名片夹表
@Data
@TableName("card_holder")
public class CardHolder extends BaseEntity {
    /**
     * 主键ID
     */
    @TableId(value = "base_id",type = IdType.ASSIGN_ID)
    private String baseId;

    //员工id/名片夹里面的员工id
    private String cardHolderUserId;

    /**创建时间**/
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    //对应的是员工名片数据表的主键id，为一对多关系
    private String baseUserId;

    @TableField(value = "user_card_id")
    private String userCardId;

    @TableField(value = "user_holder_card_id")
    private String userHolderCardId;
}
